window.onload = function(){
	localStorage.setItem("Language","english");
	
   var app = new Vue({
   	el:"#app",
   	data:{
   		title:"会员卡",
   		Language:{}
   	},
   	methods:{
   		Langes:function(v){
   			$.ajax({
   				type:"get",
   				dataType:"json",
   				url:"../Langue/"+v+".json",
   				success:function(h){
   				  app.Language =h;
   				},
   				error:function(e){
   					console.log("错误");
   				}
   			});
   		},
   		created:function(){
        this.Langes("zh");
   		}
   	}
   })
   app.created();
   
}
